#!/usr/bin/python3

# -*- coding: UTF-8 -*- 

from xml.dom import minidom
import sys
import ct_widget
import ct_tk

center_xml = './center.xml'
WIDGET = True

try:
    xmldoc = minidom.parse(center_xml)
except:
    print('error: parse xml %s',center_xml, file=sys.stderr)
    sys.exit(1)

root_widget = ct_widget.Root(xmldoc.firstChild)
ct_tk.create_root(root_widget)

